﻿using System;
using System.Collections.Generic;
using System.Web;

namespace NhanAi.Entity
{
    public class SubscribingExtension
    {
        int id;
        int subscribingId;
        string extKey;
        string extValue;
        int sortOrder;
        Subscribing subscribing;

        public int Id { get { return id; } set { id = value; } }
        public int SubscribingId { get { return subscribingId; } set { subscribingId = value; } }
        public string ExtKey { get { return extKey; } set { extKey = value; } }
        public string ExtValue { get { return extValue; } set { extValue = value; } }
        public int SortOrder { get { return sortOrder; } set { sortOrder = value; } }

        //reference
        public Subscribing Subscribing { get { return subscribing; } set { subscribing = value; } }
        public SubscribingExtension() { }
        public SubscribingExtension(string key, string value, int sortOrder)
        {
            this.extKey = key;
            this.extValue = value;
            this.sortOrder = sortOrder;
        }
    }
}